<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>11_过渡-动画曲线</title>
        <style>
            .wrapper {
                width: 900px;
                height: 200px;
                border: 5px solid red;
            }

            .inner {
                width: 100px;
                height: 200px;
                background-color: aqua;

                transition-property: width;
                transition-duration: 2s;
                transition-timing-function: ease;
                transition-timing-function: linear;
                transition-timing-function: ease-in;
                transition-timing-function: ease-out;
                transition-timing-function: ease-in-out;
                transition-timing-function: cubic-bezier(1,.14,.19,.82);

            }

            .inner:hover {
                width:900px;
            }
        </style>
    </head>
    <body>
        <div class="wrapper">
            <div class="inner"></div>
        </div>
    </body>
</html>